Component org.nuxeo.ecm.webapp.layouts.search.contrib
In bundle org.nuxeo.ecm.webapp.base
Contributions
- org.nuxeo.ecm.webapp.layouts.search.contrib--layouts
- org.nuxeo.ecm.webapp.layouts.search.contrib--widgets
XML Source
<?xml version="1.0"?>
<component name="org.nuxeo.ecm.webapp.layouts.search.contrib">
<extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
point="widgets">
<widget name="search_all_words" type="text">
<labels>
<label mode="any">label.search.all_words</label>
</labels>
<translated>true</translated>
<fields>
<field>search:fulltext_all</field>
</fields>
<properties widgetMode="edit">
<property name="styleClass">dataInputText</property>
</properties>
</widget>
<widget name="search_title" type="text">
<labels>
<label mode="any">label.dublincore.title</label>
</labels>
<translated>true</translated>
<fields>
<field>search:title</field>
</fields>
<properties widgetMode="edit">
<property name="styleClass">dataInputText</property>
</properties>
</widget>
<widget name="search_description" type="text">
<labels>
<label mode="any">label.dublincore.description</label>
</labels>
<translated>true</translated>
<fields>
<field>search:description</field>
</fields>
<properties widgetMode="edit">
<property name="styleClass">dataInputText</property>
</properties>
</widget>
<widget name="search_nature" type="suggestManyDirectory">
<labels>
<label mode="any">label.dublincore.nature</label>
</labels>
<translated>true</translated>
<fields>
<field>search:nature</field>
</fields>
<properties mode="any">
<property name="width">300</property>
<property name="minChars">0</property>
<property name="hideHelpLabel">true</property>
<property name="directoryName">nature</property>
</properties>
</widget>
<widget name="search_subjects" type="suggestManyDirectory">
<labels>
<label mode="any">label.dublincore.subject</label>
</labels>
<translated>true</translated>
<fields>
<field>search:subjects</field>
</fields>
<properties mode="any">
<property name="width">300</property>
<property name="dbl10n">true</property>
<property name="minChars">0</property>
<property name="hideHelpLabel">true</property>
<property name="directoryName">l10nsubjects</property>
</properties>
</widget>
<widget name="search_rights" type="text">
<labels>
<label mode="any">label.dublincore.rights</label>
</labels>
<translated>true</translated>
<fields>
<field>search:rights</field>
</fields>
<properties widgetMode="edit">
<property name="styleClass">dataInputText</property>
</properties>
</widget>
<widget name="search_source" type="text">
<labels>
<label mode="any">label.dublincore.source</label>
</labels>
<translated>true</translated>
<fields>
<field>search:source</field>
</fields>
<properties widgetMode="edit">
<property name="styleClass">dataInputText</property>
</properties>
</widget>
<widget name="search_coverage" type="suggestManyDirectory">
<labels>
<label mode="any">label.dublincore.coverage</label>
</labels>
<translated>true</translated>
<fields>
<field>search:coverage</field>
</fields>
<properties mode="any">
<property name="width">300</property>
<property name="dbl10n">true</property>
<property name="minChars">0</property>
<property name="hideHelpLabel">true</property>
<property name="directoryName">l10ncoverage</property>
</properties>
</widget>
<widget name="search_created_min" type="datetime">
<labels>
<label mode="any">label.dublincore.creationDateBetween</label>
</labels>
<translated>true</translated>
<fields>
<field>search:created_min</field>
</fields>
<properties widgetMode="any">
<property name="pattern">#{nxu:basicDateAndTimeFormater()}</property>
</properties>
<properties widgetMode="edit">
<property name="format">#{nxu:basicDateAndTimeFormater()}</property>
<property name="defaultTime">00:00</property>
</properties>
</widget>
<widget name="search_created_max" type="datetime">
<labels>
<label mode="any">label.search.and</label>
</labels>
<translated>true</translated>
<fields>
<field>search:created_max</field>
</fields>
<properties widgetMode="any">
<property name="pattern">#{nxu:basicDateAndTimeFormater()}</property>
</properties>
<properties widgetMode="edit">
<property name="format">#{nxu:basicDateAndTimeFormater()}</property>
<property name="defaultTime">23:59</property>
</properties>
</widget>
<widget name="search_modified_min" type="datetime">
<labels>
<label mode="any">label.dublincore.modificationDateBetween</label>
</labels>
<translated>true</translated>
<fields>
<field>search:modified_min</field>
</fields>
<properties widgetMode="any">
<property name="pattern">#{nxu:basicDateAndTimeFormater()}</property>
</properties>
<properties widgetMode="edit">
<property name="format">#{nxu:basicDateAndTimeFormater()}</property>
<property name="defaultTime">00:00</property>
</properties>
</widget>
<widget name="search_modified_max" type="datetime">
<labels>
<label mode="any">label.search.and</label>
</labels>
<translated>true</translated>
<fields>
<field>search:modified_max</field>
</fields>
<properties widgetMode="any">
<property name="pattern">#{nxu:basicDateAndTimeFormater()}</property>
</properties>
<properties widgetMode="edit">
<property name="format">#{nxu:basicDateAndTimeFormater()}</property>
<property name="defaultTime">23:59</property>
</properties>
</widget>
<widget name="search_issued_min" type="datetime">
<labels>
<label mode="any">label.dublincore.issueDateBetween</label>
</labels>
<translated>true</translated>
<fields>
<field>search:issued_min</field>
</fields>
<properties widgetMode="any">
<property name="pattern">#{nxu:basicDateAndTimeFormater()}</property>
</properties>
<properties widgetMode="edit">
<property name="format">#{nxu:basicDateAndTimeFormater()}</property>
<property name="defaultTime">00:00</property>
</properties>
</widget>
<widget name="search_issued_max" type="datetime">
<labels>
<label mode="any">label.search.and</label>
</labels>
<translated>true</translated>
<fields>
<field>search:issued_max</field>
</fields>
<properties widgetMode="any">
<property name="pattern">#{nxu:basicDateAndTimeFormater()}</property>
</properties>
<properties widgetMode="edit">
<property name="format">#{nxu:basicDateAndTimeFormater()}</property>
<property name="defaultTime">23:59</property>
</properties>
</widget>
<widget name="search_validated_min" type="datetime">
<labels>
<label mode="any">label.dublincore.validationDateBetween</label>
</labels>
<translated>true</translated>
<fields>
<field>search:valid_min</field>
</fields>
<properties widgetMode="any">
<property name="pattern">#{nxu:basicDateAndTimeFormater()}</property>
</properties>
<properties widgetMode="edit">
<property name="format">#{nxu:basicDateAndTimeFormater()}</property>
<property name="defaultTime">00:00</property>
</properties>
</widget>
<widget name="search_validated_max" type="datetime">
<labels>
<label mode="any">label.search.and</label>
</labels>
<translated>true</translated>
<fields>
<field>search:valid_max</field>
</fields>
<properties widgetMode="any">
<property name="pattern">#{nxu:basicDateAndTimeFormater()}</property>
</properties>
<properties widgetMode="edit">
<property name="format">#{nxu:basicDateAndTimeFormater()}</property>
<property name="defaultTime">23:59</property>
</properties>
</widget>
<widget name="search_expired_min" type="datetime">
<labels>
<label mode="any">label.dublincore.expirationDateBetween</label>
</labels>
<fields>
<field>search:expired_min</field>
</fields>
<translated>true</translated>
<properties widgetMode="any">
<property name="pattern">#{nxu:basicDateAndTimeFormater()}</property>
</properties>
<properties widgetMode="edit">
<property name="format">#{nxu:basicDateAndTimeFormater()}</property>
<property name="defaultTime">00:00</property>
</properties>
</widget>
<widget name="search_expired_max" type="datetime">
<labels>
<label mode="any">label.search.and</label>
</labels>
<fields>
<field>search:expired_max</field>
</fields>
<translated>true</translated>
<properties widgetMode="any">
<property name="pattern">#{nxu:basicDateAndTimeFormater()}</property>
</properties>
<properties widgetMode="edit">
<property name="format">#{nxu:basicDateAndTimeFormater()}</property>
<property name="defaultTime">23:59</property>
</properties>
</widget>
<widget name="search_format" type="text">
<labels>
<label mode="any">label.dublincore.format</label>
</labels>
<translated>true</translated>
<fields>
<field>search:format</field>
</fields>
<properties widgetMode="edit">
<property name="styleClass">dataInputText</property>
</properties>
</widget>
<widget name="search_path" type="select_path_tree">
<labels>
<label mode="any">label.advanced_search.searchpath</label>
</labels>
<translated>true</translated>
<fields>
<field>search:searchpath</field>
</fields>
<properties>
<property name="labelOpenPopUp">label.relation.addPath</property>
</properties>
</widget>
<widget name="search_language" type="text">
<labels>
<label mode="any">label.dublincore.language</label>
</labels>
<translated>true</translated>
<fields>
<field>search:language</field>
</fields>
<properties widgetMode="edit">
<property name="styleClass">dataInputText</property>
</properties>
</widget>
<widget name="search_deleted_documents" type="template">
<labels>
<label mode="any">label.search.deleted.documents</label>
</labels>
<translated>true</translated>
<fields>
<field>search:currentLifeCycleState</field>
</fields>
<properties mode="any">
<property name="template">
/widgets/search_deleted_documents_widget.xhtml
</property>
</properties>
<widgetModes>
<mode value="any">
#{nxu:test(deleteActions.trashManagementEnabled, mode, 'hidden')}
</mode>
</widgetModes>
</widget>
</extension>
<extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
point="layouts">
<layout name="advanced_search">
<templates>
<template mode="any">/layouts/layout_default_template.xhtml</template>
</templates>
<rows>
<row>
<widget>search_all_words</widget>
</row>
<row>
<widget>search_title</widget>
</row>
<row>
<widget>search_description</widget>
</row>
<row>
<widget>search_nature</widget>
</row>
<row>
<widget>search_subjects</widget>
</row>
<row>
<widget>search_rights</widget>
</row>
<row>
<widget>search_source</widget>
</row>
<row>
<widget>search_coverage</widget>
</row>
<row>
<widget>search_created_min</widget>
<widget>search_created_max</widget>
</row>
<row>
<widget>search_modified_min</widget>
<widget>search_modified_max</widget>
</row>
<row>
<widget>search_issued_min</widget>
<widget>search_issued_max</widget>
</row>
<row>
<widget>search_validated_min</widget>
<widget>search_validated_max</widget>
</row>
<row>
<widget>search_expired_min</widget>
<widget>search_expired_max</widget>
</row>
<row>
<widget>search_format</widget>
</row>
<row>
<widget>search_path</widget>
</row>
<row>
<widget>search_language</widget>
</row>
<row>
<widget>search_deleted_documents</widget>
</row>
</rows>
</layout>
</extension>
</component>